package org.colcon.web.client.ui.link;

import org.colcon.web.client.Collective_Congress;
import org.colcon.web.client.ui.ClickablePanel;
import org.colcon.web.client.ui.panel.RegisterPanel;

public class RegisterLink extends ClickablePanel
{
	public RegisterLink(Collective_Congress client)
	{
		super(client, "user-item", "register");
	}
	
	public void click()
	{
		getBodyPanel().clear();
		getBodyPanel().add(new RegisterPanel(getClient()));
	}
}
